import Vue from 'vue'
import App from './App.vue'
/* 
element-ui基本使用
1：装包 npm i element-ui
2: 导入  import ElementUi from 'element-ui'
    导入 css
3: 注册
    Vue.use(ElementUi)
*/

Vue.config.productionTip = false
import router from '@/router/index.js'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// axios使用
// import axios from 'axios'
// const _axios = axios.create({
//   baseURL: process.env.VUE_APP_URL,
//   withCredentials:true
// })
// Vue.prototype.$axios = _axios 

import store from '@/store/index.js'

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
